<?php

namespace app\modules\hr\controllers;

use app\controllers\BaseController;


//接入AS回调类
class DefaultController extends BaseController
{

	public $layout;
	public function init(){
		parent::init();
		if(\Yii::$app->requestedRoute=='hr/default/employee')
			$this->layout='/employee';
	}

	public function actionIndex(){
		return $this->render("index");
	}
	
	public function actionEmployee(){
		return $this->render("employee");
	}


}
